package edu.gxnu.cetcdemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.gxnu.cetcdemo.pojo.Reserve;
import edu.gxnu.cetcdemo.utils.Result;

import java.util.Map;

/**
* @author Uplifted
* @description 针对表【reserve】的数据库操作Service
* @createDate 2024-04-02 15:09:11
*/
public interface ReserveService extends IService<Reserve> {
    Result post(Reserve reserve);

    Result get();

    Result agree(Map<String,Object> map);

    Result userOwn(Integer id);

    Result cancel(Integer id);

}
